import api from '../../api/dict.js'

const state = {

}

const actions = {
    //码值查询
    optionListCode({commit}, params){
        return new Promise((resolve,reject) => {
            api.optionListCode(params).then(res => {
                resolve(res)
            }).catch(error => {
                reject(error)
            })
        })
    },
}

const getters = {

}

const mutations = {

}

export default{
    namespaced: true,
    state,
    actions,
    getters,
    mutations
}
